package com.ganbo.stock.repository;

import com.ganbo.stock.entity.BigDeal;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;


@Repository
public interface BigDealRepository extends JpaRepository<BigDeal, Long> {

    List<BigDeal> findByRecordDateAndStockId(Date recordDate, Long stockId);

}
